#
# # -*- coding: UTF-8 -*-
# '''
# @Project ：apiautotest
# @File ：conftest.py
# @Author ：假斯文
# @Params :
# @Date ：2021/9/8 9:15
# '''
#
# import pytest
# from selenium import webdriver
# from poium import Page,Element
#
#
# def setup(self):
#     self.driver = webdriver.chrome(r"apiautotest\Apiautomation\UI\config")
#     self.url = 'https://www.baidu.com'
#
# def teraDown(self):
#     self.driver.quit()
#
#
# class BaiduPage(Page):
#     search_input = Element(id = 'kw',describe="搜索框")
#     search_button = Element(id = 'su',describe='搜索按钮')
#     settings = Element(css = '#s-usersetting-top',describe='设置')
#     search_setting = Element(css='#s-user-setting-menu > div > a.setpref', describe='搜索设置')
#     save_setting = Element(link_text = "保存设置",describe="保存设置")
#
#
# @pytest.fixture(scope="module",autouse=True)
# def baidu_page(page):
#     return BaiduPage(page)
#
#
